project(trackingalgo)

add_subdirectory(yolov8_detect)
add_subdirectory(yolov8_pose)
add_subdirectory(model_base)
add_subdirectory(kalman_filter)
add_subdirectory(bytetrack)


add_executable(trackingalgo main.cpp)


target_include_directories(${PROJECT_NAME} PUBLIC ${Yolov8_Detect_Dir} ${Kalman_Filter_Dir})

target_link_libraries(${PROJECT_NAME} PUBLIC model_base yolov8_detect)
target_link_libraries(${PROJECT_NAME} PUBLIC ${OpenCV_LIBS})
target_link_libraries(${PROJECT_NAME} PRIVATE Eigen3::Eigen)
target_link_libraries(${PROJECT_NAME} PRIVATE kalman_filter)